package org.zhiyootech.domain;

import lombok.Data;
import org.zhiyootech.base.domain.BaseRequest;

import javax.validation.constraints.NotBlank;

@Data
public class LoginRequest extends BaseRequest {

    // 微信小程序临时CODE
    @NotBlank(message = "code不能为空")
    private String code;
    // 微信头像路径
    private String avatarUrl;
    // 微信昵称
    @NotBlank(message = "昵称不能为空")
    private String nickName;
    // 性别  男1  女0
    private int gender;
    private String city;
    private String country;
    private String province;
    private String language;
}
